package com.demo6;

/**
 * Created by Administrator on 2017/3/27.
 */
interface WeekDays {
    int MONDAY = 1;
    int TUESDAY = 2;
    int WEDNESDAY = 3;
    int THURSDAY = 4;
    int FRIDAY = 5;
    int SATURDAY = 6;
    int SUNDAY = 7;
}

class Time implements WeekDays {
    void print() {
        System.out.println("MONDAY=" + MONDAY);
        System.out.println("TUESDAY=" + TUESDAY);
        System.out.println("WEDNESDAY=" + WEDNESDAY);
        System.out.println("THURSDAY=" + THURSDAY);
        System.out.println("FRIDAY=" + FRIDAY);
        System.out.println("SATURDAY=" + SATURDAY);
        System.out.println("SUNDAY=" + SUNDAY);
    }
}

public class JieKou2 {
    public static void main(String[] args) {
        Time t = new Time();
        t.print();
    }
}
